<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"  import="java.sql.*"%>
<%@taglib prefix="s" uri="/struts-tags" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Insert title here</title>
</head>
<body>
			
			<s:set var="newVariable" scope="page" value="feedback"/>
			<%
				if(((String)pageContext.getAttribute("newVariable")).equals("loginsuccess")){
					out.println("<script>alert('登陆成功'); window.location.href='"+request.getContextPath()+"/jsp/admin/admin_index_page.jsp';</script>");
				}else{
					out.println("<script>alert('登陆错误，请核实用户名和密码是否输入正确,重新输入');javascript:history.go(-1);</script>");
				}
			%>
</body>
</html>